Fix Linux so that it does not set a timeout if there are no pending
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 25 Jul 2006 16:01:49 +0000 (17:01 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 25 Jul 2006 16:01:49 +0000 (17:01 +0100)
commit1bcc086e020e0a86ad99496120ea4b4c5f4ef870
tree60f9504b479d67839fbd2efd50fa970a371bae30
parent30aab42f713056646ae137ed2f2a85168d573c81
Fix Linux so that it does not set a timeout if there are no pending
timers. Fix Xen so that it does not immediately fire a timer event if
it sees a very long timeout -- sometimes this means that there are
no pending timers.

Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/arch/i386/kernel/time-xen.c
xen/common/schedule.c